/**
*@author       wuwg
*@createTime   2018/03/20
*@updateTime   2018/05/03
*@description
*@rule
 */
@import '../../../config/config.less';

@css-prefix-loading-bar: ~"@{css-prefix}loading-bar";

.@{css-prefix-loading-bar} {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: @zindex-loading-bar;
  &-inner {
    transition: width @transition-time linear;

    &-color-primary {
      background-color: @primary-color;
    }

    &-failed-color-error {
      background-color: @error-color;
    }
  }
}
